package com.seed.service.sysmanager;

import java.util.List;

import com.seed.commons.dbquery.PageModelForSQL;
import com.seed.commons.dbutil.DBBean;
import com.seed.web.form.RoleForm;

public interface IRole {
	public boolean saveRole(RoleForm iu);

	public void deleteRole(String id);

	public void updateRole(RoleForm iu);

	public DBBean queryRoleById(String id);
	
	public List<DBBean> queryRole() ;
	
	public boolean setRolesResource(int i,String[] menuid) ;

	public PageModelForSQL getScrollData(int currentPage, int lineSize);

}
